package com.huangwei.model;

public class CarAndLicense {
    private Integer carId;
    private Integer driverLicenseTypeId;

    @Override
    public String toString() {
        return "CarAndLicense{" +
                "carId=" + carId +
                ", driverLicenseTypeId=" + driverLicenseTypeId +
                '}';
    }

    public CarAndLicense(Integer carId, Integer driverLicenseTypeId) {
        this.carId = carId;
        this.driverLicenseTypeId = driverLicenseTypeId;
    }

    public CarAndLicense() {
    }

    public Integer getCarId() {
        return carId;
    }

    public void setCarId(Integer carId) {
        this.carId = carId;
    }

    public Integer getDriverLicenseTypeId() {
        return driverLicenseTypeId;
    }

    public void setDriverLicenseTypeId(Integer driverLicenseTypeId) {
        this.driverLicenseTypeId = driverLicenseTypeId;
    }
}
